package com.github.demo.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by guxiaowei on 2018/3/2.
 * feign接口消费
 */
@FeignClient("cloud-service")
public interface UserService {

    @GetMapping("/user")
    String user();
}
